﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DialectSoftware.Web.JsAPI;
using DialectSoftware.Web.UI.CustomUserControls;
using System.Data;
using System.Collections.Specialized;

namespace Demo
{
    public partial class DataBoundUsercontrolExample : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
           
            NameValueCollection nvc = new NameValueCollection();
            nvc.Add("Name", "David");
            nvc.Add("Address", "123 Maine Street USA");
            nvc.Add("Phone", "555-555-5555");
            nvc.Add("Email", "email@mail.com");
            ProfileControl1.DataSource = nvc;
            ProfileControl1.DataBind();
        }
    }
}